<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <title>万信管理后台</title>
    <%@ include file="/commons/meta.jsp"%>
    <link href="${ctx}/resources/admin/css/base.css" rel="stylesheet">
</head>
<body style="overflow: hidden;">
<div id="loading" class="loading" >加载中…</div>
<div id="shade-div" class="shade-div hide"></div>
<%@ include file="/jsps/admin/inc/header.jsp"%>
<%@ include file="/jsps/admin/inc/menu.jsp"%>
<div id="main">
    <div id="content" class="orgStr">
	    <div class="hd">
	        <span>企业配置</span>
	    </div>
	    <form action="../config/enterprise_logo!update.xhtml"  enctype="multipart/form-data" method="post">
	    	<input type="hidden" name="config21.id" value="${config21.id}">
	    	<input type="hidden" name="config22.id" value="${config22.id}">
		    <div class="switch">
		        <p><label>企业名称：</label><input type="text" class="itext" style="width: 202px" disabled="disabled" name="config21.content" value="${config21.content}"> <a href="javascript:;">修改</a></p>
		        <p>
		            <label style="vertical-align: top;">企业LOGO：</label><span><img src="${ctx}${config22.content}"><em>支持JPG，PNG格式，大小为128×128像素</em></span>
		            <input type="file" name="logo">
		        </p>
		        
		    </div>
		    <p class="center"><button type="submit" class="btn blue-btn" >保存修改</button> </p>
	    </form>
	    
	</div>
</div>
<%@ include file="/jsps/admin/inc/footer.jsp"%>
<div class="popbox w800" id="edit"style="display: block;left: -100000px" >
    <div class="popbox-hd">
        <h2>修改企业LOGO</h2>
        <a href="javascript:;" title="关闭" class="closePopBtn logoQ"></a>
    </div>
    <div class="popbox-bd">
        <div class="head">
        	
	            <p class="explain">请调整选择框大小和位置，选中的头像将作为您选中的企业LOGO</p>
	            <input  id="FileUpload" type="file" class="choice">
	            <form id="editForm1">
	            	<img src="${ctx}/resources/admin/images/u79.png" alt="" id="bPic"><!--大头像-->
	            </form>
	            <span id="preview_box" class="crop_preview"><img id="crop_preview" src="${ctx}/resources/admin/images/u79.png" /></span><!--小头像-->
	            <em>标准：128*128像素</em>
            
        </div>
    </div>
    <div class="popbox-ft">
        <a href="javascript:;" class="btn blue-btn">保存</a><a href="javascript:;" class="btn gray-btn cancelBtn logoQ">取消</a>
    </div>
</div>
<script src="${ctx}/resources/admin/js/lib/jquery-1.8.0.min.js"></script>
<script src="${ctx}/resources/admin/js/lib/jquery-ui.js"></script>
<script  src="${ctx}/resources/admin/js/lib/jquery.Jcrop.js"></script>
<script src="${ctx}/resources/admin/js/config/enterpriseLogo.js"></script>

<script type="text/javascript">
$(function(){
	enterpriseLogo.menuClicked('P10', 'C13');
});
</script>
</body>
</html>
